import request from '@/utils/request'

// 根据用车id、耗材类型查询耗材明细
export function vehicleId (query) {
    return request({
      url: `/api/dingtalk/list/by/type/and/vehicleId`,
      method: 'get',
      params: query
    })
  }

  // 批量保存耗材明细列表
export function material (data) {
    return request({
      url: '/api/dingtalk/save/batch/material',
      method: 'post',
      data: data
    })
  }